<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<title>ShipCAD: ShipCAD::Viewport Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">ShipCAD
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespaceShipCAD.html">ShipCAD</a></li><li class="navelem"><a class="el" href="classShipCAD_1_1Viewport.html">Viewport</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-slots">Public Slots</a> &#124;
<a href="#signals">Signals</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-methods">Protected Member Functions</a> &#124;
<a href="classShipCAD_1_1Viewport-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">ShipCAD::Viewport Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p><code>#include &lt;<a class="el" href="viewport_8h_source.html">viewport.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for ShipCAD::Viewport:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classShipCAD_1_1Viewport.png" usemap="#ShipCAD::Viewport_map" alt=""/>
  <map id="ShipCAD::Viewport_map" name="ShipCAD::Viewport_map">
<area href="classOpenGLWindow.html" alt="OpenGLWindow" shape="rect" coords="67,56,191,80"/>
</map>
 </div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-slots"></a>
Public Slots</h2></td></tr>
<tr class="memitem:a578ac5ee96e36638739517fa21bf70c0"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classShipCAD_1_1Viewport.html#a578ac5ee96e36638739517fa21bf70c0">setViewportMode</a> (<a class="el" href="namespaceShipCAD.html#a67437198ee14f74e6c5277d761894863">viewport_mode_t</a> mode)</td></tr>
<tr class="separator:a578ac5ee96e36638739517fa21bf70c0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a554a3455c39ee5652b13c9b24c3c962e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classShipCAD_1_1Viewport.html#a554a3455c39ee5652b13c9b24c3c962e">setViewportType</a> (<a class="el" href="namespaceShipCAD.html#aeeeb05810f2e31ef89fd4ac6b6ba9c0a">viewport_type_t</a> ty)</td></tr>
<tr class="separator:a554a3455c39ee5652b13c9b24c3c962e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5f90a885e0204b32ff9795c4b79f824b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classShipCAD_1_1Viewport.html#a5f90a885e0204b32ff9795c4b79f824b">setCameraType</a> (<a class="el" href="namespaceShipCAD.html#a58f51ebd2e66de5e41c2ffd6f434241e">camera_type_t</a> val)</td></tr>
<tr class="separator:a5f90a885e0204b32ff9795c4b79f824b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a00ba2139fa06701b65de70d5c657f5d6"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classShipCAD_1_1Viewport.html#a00ba2139fa06701b65de70d5c657f5d6">setAngle</a> (float val)</td></tr>
<tr class="separator:a00ba2139fa06701b65de70d5c657f5d6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4bda4b742dc477ed5dc2ab6ac7fe92bc"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classShipCAD_1_1Viewport.html#a4bda4b742dc477ed5dc2ab6ac7fe92bc">setElevation</a> (float val)</td></tr>
<tr class="separator:a4bda4b742dc477ed5dc2ab6ac7fe92bc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4eeeb100fd88487215bb7794bdf5e0cb"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classShipCAD_1_1Viewport.html#a4eeeb100fd88487215bb7794bdf5e0cb">resizeEvent</a> (QResizeEvent *<a class="el" href="classOpenGLWindow.html#a1e3045cffb900de55b7384f5091c9d94">event</a>)</td></tr>
<tr class="separator:a4eeeb100fd88487215bb7794bdf5e0cb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab247f28eb569e160142901b6eef265a3"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classShipCAD_1_1Viewport.html#ab247f28eb569e160142901b6eef265a3">contextMenu</a> (QMouseEvent *<a class="el" href="classOpenGLWindow.html#a1e3045cffb900de55b7384f5091c9d94">event</a>)</td></tr>
<tr class="separator:ab247f28eb569e160142901b6eef265a3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_slots_classOpenGLWindow"><td colspan="2" onclick="javascript:toggleInherit('pub_slots_classOpenGLWindow')"><img src="closed.png" alt="-"/>&#160;Public Slots inherited from <a class="el" href="classOpenGLWindow.html">OpenGLWindow</a></td></tr>
<tr class="memitem:abea9e50147496e5110b86f03122fbece inherit pub_slots_classOpenGLWindow"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOpenGLWindow.html#abea9e50147496e5110b86f03122fbece">renderLater</a> ()</td></tr>
<tr class="separator:abea9e50147496e5110b86f03122fbece inherit pub_slots_classOpenGLWindow"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8398ed62d646739fe54fae94c477ad1d inherit pub_slots_classOpenGLWindow"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOpenGLWindow.html#a8398ed62d646739fe54fae94c477ad1d">renderNow</a> ()</td></tr>
<tr class="separator:a8398ed62d646739fe54fae94c477ad1d inherit pub_slots_classOpenGLWindow"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="signals"></a>
Signals</h2></td></tr>
<tr class="memitem:a910ae7ca3acc3a55ae4920ed57305a01"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classShipCAD_1_1Viewport.html#a910ae7ca3acc3a55ae4920ed57305a01">contextMenuEvent</a> (<a class="el" href="classShipCAD_1_1ViewportContextEvent.html">ShipCAD::ViewportContextEvent</a> *<a class="el" href="classOpenGLWindow.html#a1e3045cffb900de55b7384f5091c9d94">event</a>)</td></tr>
<tr class="separator:a910ae7ca3acc3a55ae4920ed57305a01"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:af6af98eae1040b82b047df5a679e891b"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classShipCAD_1_1Viewport.html#af6af98eae1040b82b047df5a679e891b">Viewport</a> (<a class="el" href="classShipCAD_1_1Controller.html">ShipCAD::Controller</a> *ctl, <a class="el" href="namespaceShipCAD.html#aeeeb05810f2e31ef89fd4ac6b6ba9c0a">viewport_type_t</a> vtype)</td></tr>
<tr class="separator:af6af98eae1040b82b047df5a679e891b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1e18a1ff4a52be33ef63d25034561850"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classShipCAD_1_1Viewport.html#a1e18a1ff4a52be33ef63d25034561850">~Viewport</a> ()</td></tr>
<tr class="separator:a1e18a1ff4a52be33ef63d25034561850"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9c35de3f7c9d7c860c494081b48309b3"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classShipCAD_1_1Viewport.html#a9c35de3f7c9d7c860c494081b48309b3">initialize</a> ()</td></tr>
<tr class="separator:a9c35de3f7c9d7c860c494081b48309b3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac0c02d6e3a0933669de2292f041c69e6"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classShipCAD_1_1Viewport.html#ac0c02d6e3a0933669de2292f041c69e6">clearBackground</a> ()</td></tr>
<tr class="memdesc:ac0c02d6e3a0933669de2292f041c69e6"><td class="mdescLeft">&#160;</td><td class="mdescRight">clear background  <a href="#ac0c02d6e3a0933669de2292f041c69e6">More...</a><br /></td></tr>
<tr class="separator:ac0c02d6e3a0933669de2292f041c69e6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae1a93920fcaf1b6eaa46d390bbd15ce4"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classShipCAD_1_1Viewport.html#ae1a93920fcaf1b6eaa46d390bbd15ce4">renderOpenGL</a> ()</td></tr>
<tr class="memdesc:ae1a93920fcaf1b6eaa46d390bbd15ce4"><td class="mdescLeft">&#160;</td><td class="mdescRight">render OpenGL  <a href="#ae1a93920fcaf1b6eaa46d390bbd15ce4">More...</a><br /></td></tr>
<tr class="separator:ae1a93920fcaf1b6eaa46d390bbd15ce4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad48bfa81c7034792f290ed47bac203c5"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classShipCAD_1_1Viewport.html#ad48bfa81c7034792f290ed47bac203c5">renderWithPainter</a> (QPainter *painter)</td></tr>
<tr class="memdesc:ad48bfa81c7034792f290ed47bac203c5"><td class="mdescLeft">&#160;</td><td class="mdescRight">render qpainter  <a href="#ad48bfa81c7034792f290ed47bac203c5">More...</a><br /></td></tr>
<tr class="separator:ad48bfa81c7034792f290ed47bac203c5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae8cc8dfbda37517c2af3821cd87deb74"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classShipCAD_1_1Controller.html">ShipCAD::Controller</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classShipCAD_1_1Viewport.html#ae8cc8dfbda37517c2af3821cd87deb74">getController</a> ()</td></tr>
<tr class="separator:ae8cc8dfbda37517c2af3821cd87deb74"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abb20c88690f8513f48f3faa010998a5f"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classShipCAD_1_1Controller.html">ShipCAD::Controller</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classShipCAD_1_1Viewport.html#abb20c88690f8513f48f3faa010998a5f">getController</a> () const </td></tr>
<tr class="separator:abb20c88690f8513f48f3faa010998a5f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a205e5082395c6d01660ffc179c57b83e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespaceShipCAD.html#a67437198ee14f74e6c5277d761894863">viewport_mode_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classShipCAD_1_1Viewport.html#a205e5082395c6d01660ffc179c57b83e">getViewportMode</a> () const </td></tr>
<tr class="separator:a205e5082395c6d01660ffc179c57b83e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5f261a1925f09917013e8e532688326a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespaceShipCAD.html#aeeeb05810f2e31ef89fd4ac6b6ba9c0a">viewport_type_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classShipCAD_1_1Viewport.html#a5f261a1925f09917013e8e532688326a">getViewportType</a> () const </td></tr>
<tr class="separator:a5f261a1925f09917013e8e532688326a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a017abe5691674d1d232ad8c012b30339"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespaceShipCAD.html#a58f51ebd2e66de5e41c2ffd6f434241e">camera_type_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classShipCAD_1_1Viewport.html#a017abe5691674d1d232ad8c012b30339">getCameraType</a> () const </td></tr>
<tr class="separator:a017abe5691674d1d232ad8c012b30339"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acce571248835d8a66fcb4787c2384824"><td class="memItemLeft" align="right" valign="top">const QVector3D &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classShipCAD_1_1Viewport.html#acce571248835d8a66fcb4787c2384824">getCamera</a> () const </td></tr>
<tr class="separator:acce571248835d8a66fcb4787c2384824"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aab16013a5098f23f3f1bb9d4318c3d3b"><td class="memItemLeft" align="right" valign="top">QPoint&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classShipCAD_1_1Viewport.html#aab16013a5098f23f3f1bb9d4318c3d3b">convert3D</a> (const QVector3D &amp;pt) const </td></tr>
<tr class="separator:aab16013a5098f23f3f1bb9d4318c3d3b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9f643e335e21dc9b752098e00dc5db48"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classShipCAD_1_1Viewport.html#a9f643e335e21dc9b752098e00dc5db48">getAngle</a> () const </td></tr>
<tr class="separator:a9f643e335e21dc9b752098e00dc5db48"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a719ba3bde9e3b390215c420bd62e6b20"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classShipCAD_1_1Viewport.html#a719ba3bde9e3b390215c420bd62e6b20">getElevation</a> () const </td></tr>
<tr class="separator:a719ba3bde9e3b390215c420bd62e6b20"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a886ac5965b63039799827da89bf3de20"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classShipCAD_1_1Viewport.html#a886ac5965b63039799827da89bf3de20">addShader</a> (const std::string &amp;name, <a class="el" href="classShipCAD_1_1Shader.html">Shader</a> *shader)</td></tr>
<tr class="separator:a886ac5965b63039799827da89bf3de20"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0720a01f8650dc4acf89aad0649d9196"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classShipCAD_1_1LineShader.html">LineShader</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classShipCAD_1_1Viewport.html#a0720a01f8650dc4acf89aad0649d9196">setLineShader</a> ()</td></tr>
<tr class="separator:a0720a01f8650dc4acf89aad0649d9196"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad6be617bdcab76cd2f44b0528371cd5d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classShipCAD_1_1FaceShader.html">FaceShader</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classShipCAD_1_1Viewport.html#ad6be617bdcab76cd2f44b0528371cd5d">setMonoFaceShader</a> ()</td></tr>
<tr class="separator:ad6be617bdcab76cd2f44b0528371cd5d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a03cc2ed85178b9735c80b11dceb470b5"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classShipCAD_1_1FaceShader.html">FaceShader</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classShipCAD_1_1Viewport.html#a03cc2ed85178b9735c80b11dceb470b5">setLightedFaceShader</a> ()</td></tr>
<tr class="separator:a03cc2ed85178b9735c80b11dceb470b5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af4f3c9649b9d1af1b149048fc99aebe9"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classShipCAD_1_1CurveFaceShader.html">CurveFaceShader</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classShipCAD_1_1Viewport.html#af4f3c9649b9d1af1b149048fc99aebe9">setCurveFaceShader</a> ()</td></tr>
<tr class="separator:af4f3c9649b9d1af1b149048fc99aebe9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa9af80400534f46e5420916a2895ead5"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classShipCAD_1_1Viewport.html#aa9af80400534f46e5420916a2895ead5">shootPickRay</a> (<a class="el" href="structShipCAD_1_1PickRay.html">PickRay</a> &amp;ray)</td></tr>
<tr class="separator:aa9af80400534f46e5420916a2895ead5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af9b33616bfc97332f37acafe48ed4c9f"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classShipCAD_1_1Viewport.html#af9b33616bfc97332f37acafe48ed4c9f">canPick</a> () const </td></tr>
<tr class="separator:af9b33616bfc97332f37acafe48ed4c9f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7a09a47962bcd93cff4e390206ec7560"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classShipCAD_1_1Viewport.html#a7a09a47962bcd93cff4e390206ec7560">canPickFace</a> () const </td></tr>
<tr class="separator:a7a09a47962bcd93cff4e390206ec7560"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classOpenGLWindow"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classOpenGLWindow')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classOpenGLWindow.html">OpenGLWindow</a></td></tr>
<tr class="memitem:a90bb7dbb2dcb27b1fdc56ef4ef3f25fc inherit pub_methods_classOpenGLWindow"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOpenGLWindow.html#a90bb7dbb2dcb27b1fdc56ef4ef3f25fc">OpenGLWindow</a> (QWindow *parent=0)</td></tr>
<tr class="separator:a90bb7dbb2dcb27b1fdc56ef4ef3f25fc inherit pub_methods_classOpenGLWindow"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa220b192c71871aab9100f4058a8d62d inherit pub_methods_classOpenGLWindow"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOpenGLWindow.html#aa220b192c71871aab9100f4058a8d62d">~OpenGLWindow</a> ()</td></tr>
<tr class="separator:aa220b192c71871aab9100f4058a8d62d inherit pub_methods_classOpenGLWindow"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a68317e3284d7b0ffba262eac059b6b9e inherit pub_methods_classOpenGLWindow"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOpenGLWindow.html#a68317e3284d7b0ffba262eac059b6b9e">setAnimating</a> (bool animating)</td></tr>
<tr class="separator:a68317e3284d7b0ffba262eac059b6b9e inherit pub_methods_classOpenGLWindow"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr class="memitem:a7997e0e684a4f8b5709f4d98be6cebb4"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classShipCAD_1_1Viewport.html#a7997e0e684a4f8b5709f4d98be6cebb4">update</a> ()</td></tr>
<tr class="separator:a7997e0e684a4f8b5709f4d98be6cebb4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0dddc5b05c7308f8818a726b16a7d9eb"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classShipCAD_1_1Viewport.html#a0dddc5b05c7308f8818a726b16a7d9eb">mousePressEvent</a> (QMouseEvent *)</td></tr>
<tr class="separator:a0dddc5b05c7308f8818a726b16a7d9eb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7cb6994a92d40990b58be272953b9120"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classShipCAD_1_1Viewport.html#a7cb6994a92d40990b58be272953b9120">mouseReleaseEvent</a> (QMouseEvent *)</td></tr>
<tr class="separator:a7cb6994a92d40990b58be272953b9120"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab98dde7bb1d923b8cfc9a0c3cb249c2c"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classShipCAD_1_1Viewport.html#ab98dde7bb1d923b8cfc9a0c3cb249c2c">mouseMoveEvent</a> (QMouseEvent *)</td></tr>
<tr class="separator:ab98dde7bb1d923b8cfc9a0c3cb249c2c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9ac4c18fa3454cddc5e73322c3d1afd8"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classShipCAD_1_1Viewport.html#a9ac4c18fa3454cddc5e73322c3d1afd8">wheelEvent</a> (QWheelEvent *)</td></tr>
<tr class="separator:a9ac4c18fa3454cddc5e73322c3d1afd8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acc401d8a0d84810a9d695e3621e29b4e"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classShipCAD_1_1Viewport.html#acc401d8a0d84810a9d695e3621e29b4e">keyPressEvent</a> (QKeyEvent *)</td></tr>
<tr class="separator:acc401d8a0d84810a9d695e3621e29b4e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_methods_classOpenGLWindow"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_classOpenGLWindow')"><img src="closed.png" alt="-"/>&#160;Protected Member Functions inherited from <a class="el" href="classOpenGLWindow.html">OpenGLWindow</a></td></tr>
<tr class="memitem:a1e3045cffb900de55b7384f5091c9d94 inherit pro_methods_classOpenGLWindow"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOpenGLWindow.html#a1e3045cffb900de55b7384f5091c9d94">event</a> (QEvent *event)</td></tr>
<tr class="separator:a1e3045cffb900de55b7384f5091c9d94 inherit pro_methods_classOpenGLWindow"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a991121ba7a4bbfa208fa74e5c86004c3 inherit pro_methods_classOpenGLWindow"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOpenGLWindow.html#a991121ba7a4bbfa208fa74e5c86004c3">exposeEvent</a> (QExposeEvent *<a class="el" href="classOpenGLWindow.html#a1e3045cffb900de55b7384f5091c9d94">event</a>)</td></tr>
<tr class="separator:a991121ba7a4bbfa208fa74e5c86004c3 inherit pro_methods_classOpenGLWindow"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae0e1d4dc039ce114ac615ce1dee38e51 inherit pro_methods_classOpenGLWindow"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOpenGLWindow.html#ae0e1d4dc039ce114ac615ce1dee38e51">resizeEvent</a> (QResizeEvent *<a class="el" href="classOpenGLWindow.html#a1e3045cffb900de55b7384f5091c9d94">event</a>)</td></tr>
<tr class="separator:ae0e1d4dc039ce114ac615ce1dee38e51 inherit pro_methods_classOpenGLWindow"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock">
<p>Definition at line <a class="el" href="viewport_8h_source.html#l00070">70</a> of file <a class="el" href="viewport_8h_source.html">viewport.h</a>.</p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="af6af98eae1040b82b047df5a679e891b"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Viewport::Viewport </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classShipCAD_1_1Controller.html">ShipCAD::Controller</a> *&#160;</td>
          <td class="paramname"><em>ctl</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespaceShipCAD.html#aeeeb05810f2e31ef89fd4ac6b6ba9c0a">viewport_type_t</a>&#160;</td>
          <td class="paramname"><em>vtype</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">explicit</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="viewport_8cpp_source.html#l00054">54</a> of file <a class="el" href="viewport_8cpp_source.html">viewport.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a1e18a1ff4a52be33ef63d25034561850"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Viewport::~Viewport </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="viewport_8cpp_source.html#l00061">61</a> of file <a class="el" href="viewport_8cpp_source.html">viewport.cpp</a>.</p>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a886ac5965b63039799827da89bf3de20"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Viewport::addShader </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classShipCAD_1_1Shader.html">Shader</a> *&#160;</td>
          <td class="paramname"><em>shader</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="viewport_8cpp_source.html#l00193">193</a> of file <a class="el" href="viewport_8cpp_source.html">viewport.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="af9b33616bfc97332f37acafe48ed4c9f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Viewport::canPick </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="viewport_8cpp_source.html#l00291">291</a> of file <a class="el" href="viewport_8cpp_source.html">viewport.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a7a09a47962bcd93cff4e390206ec7560"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Viewport::canPickFace </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="viewport_8cpp_source.html#l00297">297</a> of file <a class="el" href="viewport_8cpp_source.html">viewport.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="ac0c02d6e3a0933669de2292f041c69e6"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void Viewport::clearBackground </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>clear background </p>

<p>Implements <a class="el" href="classOpenGLWindow.html#add04ac504dabc486b3847b107e8f1384">OpenGLWindow</a>.</p>

<p>Definition at line <a class="el" href="viewport_8cpp_source.html#l00198">198</a> of file <a class="el" href="viewport_8cpp_source.html">viewport.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="ab247f28eb569e160142901b6eef265a3"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool Viewport::contextMenu </td>
          <td>(</td>
          <td class="paramtype">QMouseEvent *&#160;</td>
          <td class="paramname"><em>event</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">slot</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="viewport_8cpp_source.html#l00284">284</a> of file <a class="el" href="viewport_8cpp_source.html">viewport.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a910ae7ca3acc3a55ae4920ed57305a01"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void ShipCAD::Viewport::contextMenuEvent </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classShipCAD_1_1ViewportContextEvent.html">ShipCAD::ViewportContextEvent</a> *&#160;</td>
          <td class="paramname"><em>event</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">signal</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="aab16013a5098f23f3f1bb9d4318c3d3b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QPoint Viewport::convert3D </td>
          <td>(</td>
          <td class="paramtype">const QVector3D &amp;&#160;</td>
          <td class="paramname"><em>pt</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="viewport_8cpp_source.html#l00173">173</a> of file <a class="el" href="viewport_8cpp_source.html">viewport.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a9f643e335e21dc9b752098e00dc5db48"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">float Viewport::getAngle </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="viewport_8cpp_source.html#l00139">139</a> of file <a class="el" href="viewport_8cpp_source.html">viewport.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="acce571248835d8a66fcb4787c2384824"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const QVector3D &amp; Viewport::getCamera </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="viewport_8cpp_source.html#l00082">82</a> of file <a class="el" href="viewport_8cpp_source.html">viewport.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a017abe5691674d1d232ad8c012b30339"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespaceShipCAD.html#a58f51ebd2e66de5e41c2ffd6f434241e">camera_type_t</a> Viewport::getCameraType </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="viewport_8cpp_source.html#l00112">112</a> of file <a class="el" href="viewport_8cpp_source.html">viewport.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="ae8cc8dfbda37517c2af3821cd87deb74"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classShipCAD_1_1Controller.html">Controller</a> * Viewport::getController </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="viewport_8cpp_source.html#l00072">72</a> of file <a class="el" href="viewport_8cpp_source.html">viewport.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="abb20c88690f8513f48f3faa010998a5f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="classShipCAD_1_1Controller.html">Controller</a> * Viewport::getController </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="viewport_8cpp_source.html#l00077">77</a> of file <a class="el" href="viewport_8cpp_source.html">viewport.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a719ba3bde9e3b390215c420bd62e6b20"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">float Viewport::getElevation </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="viewport_8cpp_source.html#l00156">156</a> of file <a class="el" href="viewport_8cpp_source.html">viewport.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a205e5082395c6d01660ffc179c57b83e"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespaceShipCAD.html#a67437198ee14f74e6c5277d761894863">viewport_mode_t</a> ShipCAD::Viewport::getViewportMode </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="viewport_8h_source.html#l00095">95</a> of file <a class="el" href="viewport_8h_source.html">viewport.h</a>.</p>

</div>
</div>
<a class="anchor" id="a5f261a1925f09917013e8e532688326a"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespaceShipCAD.html#aeeeb05810f2e31ef89fd4ac6b6ba9c0a">viewport_type_t</a> ShipCAD::Viewport::getViewportType </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="viewport_8h_source.html#l00097">97</a> of file <a class="el" href="viewport_8h_source.html">viewport.h</a>.</p>

</div>
</div>
<a class="anchor" id="a9c35de3f7c9d7c860c494081b48309b3"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void Viewport::initialize </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Reimplemented from <a class="el" href="classOpenGLWindow.html#aed4e2ee22e113b2f7e7d1eba4ef1b965">OpenGLWindow</a>.</p>

<p>Definition at line <a class="el" href="viewport_8cpp_source.html#l00087">87</a> of file <a class="el" href="viewport_8cpp_source.html">viewport.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="acc401d8a0d84810a9d695e3621e29b4e"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void Viewport::keyPressEvent </td>
          <td>(</td>
          <td class="paramtype">QKeyEvent *&#160;</td>
          <td class="paramname"><em>event</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="viewport_8cpp_source.html#l00446">446</a> of file <a class="el" href="viewport_8cpp_source.html">viewport.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="ab98dde7bb1d923b8cfc9a0c3cb249c2c"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void Viewport::mouseMoveEvent </td>
          <td>(</td>
          <td class="paramtype">QMouseEvent *&#160;</td>
          <td class="paramname"><em>event</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="viewport_8cpp_source.html#l00386">386</a> of file <a class="el" href="viewport_8cpp_source.html">viewport.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a0dddc5b05c7308f8818a726b16a7d9eb"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void Viewport::mousePressEvent </td>
          <td>(</td>
          <td class="paramtype">QMouseEvent *&#160;</td>
          <td class="paramname"><em>event</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="viewport_8cpp_source.html#l00311">311</a> of file <a class="el" href="viewport_8cpp_source.html">viewport.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a7cb6994a92d40990b58be272953b9120"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void Viewport::mouseReleaseEvent </td>
          <td>(</td>
          <td class="paramtype">QMouseEvent *&#160;</td>
          <td class="paramname"><em>event</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="viewport_8cpp_source.html#l00345">345</a> of file <a class="el" href="viewport_8cpp_source.html">viewport.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="ae1a93920fcaf1b6eaa46d390bbd15ce4"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void Viewport::renderOpenGL </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>render OpenGL </p>

<p>Implements <a class="el" href="classOpenGLWindow.html#aa0cf1ae550a2827b513bfde10f7e97b6">OpenGLWindow</a>.</p>

<p>Definition at line <a class="el" href="viewport_8cpp_source.html#l00216">216</a> of file <a class="el" href="viewport_8cpp_source.html">viewport.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="ad48bfa81c7034792f290ed47bac203c5"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void Viewport::renderWithPainter </td>
          <td>(</td>
          <td class="paramtype">QPainter *&#160;</td>
          <td class="paramname"><em>painter</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>render qpainter </p>

<p>Implements <a class="el" href="classOpenGLWindow.html#a0a15a4a8fc68d4318f3a59e884db1497">OpenGLWindow</a>.</p>

<p>Definition at line <a class="el" href="viewport_8cpp_source.html#l00208">208</a> of file <a class="el" href="viewport_8cpp_source.html">viewport.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a4eeeb100fd88487215bb7794bdf5e0cb"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void Viewport::resizeEvent </td>
          <td>(</td>
          <td class="paramtype">QResizeEvent *&#160;</td>
          <td class="paramname"><em>event</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span><span class="mlabel">slot</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="viewport_8cpp_source.html#l00178">178</a> of file <a class="el" href="viewport_8cpp_source.html">viewport.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a00ba2139fa06701b65de70d5c657f5d6"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void Viewport::setAngle </td>
          <td>(</td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>val</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">slot</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="viewport_8cpp_source.html#l00147">147</a> of file <a class="el" href="viewport_8cpp_source.html">viewport.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a5f90a885e0204b32ff9795c4b79f824b"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void Viewport::setCameraType </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespaceShipCAD.html#a58f51ebd2e66de5e41c2ffd6f434241e">camera_type_t</a>&#160;</td>
          <td class="paramname"><em>val</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">slot</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="viewport_8cpp_source.html#l00120">120</a> of file <a class="el" href="viewport_8cpp_source.html">viewport.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="af4f3c9649b9d1af1b149048fc99aebe9"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classShipCAD_1_1CurveFaceShader.html">CurveFaceShader</a> * Viewport::setCurveFaceShader </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="viewport_8cpp_source.html#l00271">271</a> of file <a class="el" href="viewport_8cpp_source.html">viewport.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a4bda4b742dc477ed5dc2ab6ac7fe92bc"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void Viewport::setElevation </td>
          <td>(</td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>val</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">slot</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="viewport_8cpp_source.html#l00164">164</a> of file <a class="el" href="viewport_8cpp_source.html">viewport.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a03cc2ed85178b9735c80b11dceb470b5"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classShipCAD_1_1FaceShader.html">FaceShader</a> * Viewport::setLightedFaceShader </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="viewport_8cpp_source.html#l00258">258</a> of file <a class="el" href="viewport_8cpp_source.html">viewport.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a0720a01f8650dc4acf89aad0649d9196"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classShipCAD_1_1LineShader.html">LineShader</a> * Viewport::setLineShader </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="viewport_8cpp_source.html#l00232">232</a> of file <a class="el" href="viewport_8cpp_source.html">viewport.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="ad6be617bdcab76cd2f44b0528371cd5d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classShipCAD_1_1FaceShader.html">FaceShader</a> * Viewport::setMonoFaceShader </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="viewport_8cpp_source.html#l00245">245</a> of file <a class="el" href="viewport_8cpp_source.html">viewport.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a578ac5ee96e36638739517fa21bf70c0"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void Viewport::setViewportMode </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespaceShipCAD.html#a67437198ee14f74e6c5277d761894863">viewport_mode_t</a>&#160;</td>
          <td class="paramname"><em>mode</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">slot</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="viewport_8cpp_source.html#l00104">104</a> of file <a class="el" href="viewport_8cpp_source.html">viewport.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a554a3455c39ee5652b13c9b24c3c962e"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void Viewport::setViewportType </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespaceShipCAD.html#aeeeb05810f2e31ef89fd4ac6b6ba9c0a">viewport_type_t</a>&#160;</td>
          <td class="paramname"><em>ty</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">slot</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="viewport_8cpp_source.html#l00129">129</a> of file <a class="el" href="viewport_8cpp_source.html">viewport.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="aa9af80400534f46e5420916a2895ead5"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Viewport::shootPickRay </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structShipCAD_1_1PickRay.html">PickRay</a> &amp;&#160;</td>
          <td class="paramname"><em>ray</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="viewport_8cpp_source.html#l00454">454</a> of file <a class="el" href="viewport_8cpp_source.html">viewport.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a7997e0e684a4f8b5709f4d98be6cebb4"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void Viewport::update </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="viewport_8cpp_source.html#l00185">185</a> of file <a class="el" href="viewport_8cpp_source.html">viewport.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a9ac4c18fa3454cddc5e73322c3d1afd8"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void Viewport::wheelEvent </td>
          <td>(</td>
          <td class="paramtype">QWheelEvent *&#160;</td>
          <td class="paramname"><em>event</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="viewport_8cpp_source.html#l00429">429</a> of file <a class="el" href="viewport_8cpp_source.html">viewport.cpp</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>ShipCADlib/<a class="el" href="viewport_8h_source.html">viewport.h</a></li>
<li>ShipCADlib/<a class="el" href="viewport_8cpp_source.html">viewport.cpp</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Sun Feb 25 2018 15:36:00 for ShipCAD by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.11
</small></address>
</body>
</html>
